<? 
require('includes/class.main.php');
$manager = new MeetingManager();
include('template/directions-header.php');
$lookup = new MeetingLookup();
//$row = $_GET['row'];

if (isset($_POST['remember']) && $_POST['remember'] == "on") {
	$_SESSION['user_address'] = $_POST['user_address'];
	$_SESSION['user_city'] = $_POST['user_city'];
	$_SESSION['user_state'] = $_POST['user_state'];
	$_SESSION['user_zip'] = $_POST['user_zip'];
	$_SESSION['remember'] = "on";
}

if (isset($_POST['forget']) && $_POST['forget'] == "on") {
	$_SESSION['user_address'] = "";
	$_SESSION['user_city'] = "";
	$_SESSION['user_state'] = "";
	$_SESSION['user_zip'] = "";
	$_SESSION['remember'] = "";
}
?>
<div id="toolbar" style="width: 100%; text-align: right;">
	<input type="image" src="images/print.gif" alt="Print directions!"
		onClick="window.print()" />
</div>

<div
	id="map_canvas" style="width: 100%; height: 480px;"></div>
<div id="route"
	style="width: 100%;"></div>

<? include('template/footer.php'); ?>
